<%@ Page Title="ScrumPeak.com" Language="C#" MasterPageFile="~/Views/Shared/Login.Master" AutoEventWireup="true" Inherits="MvcContrib.FluentHtml.ModelViewPage<Peak.Web.Controllers.Models.LoginDataModel>" %>
<%@ Import Namespace="Peak.Resources" %>
<%@ Import Namespace="Peak.Web.Controllers" %>
<%@ Import Namespace="Peak.Web.Controllers.HtmlExtentions" %>
<asp:content contentplaceholderid="center" runat="server">
  <div class="page-title"><%= PageTitles.WelcomeToScrumPeak %></div>
  <div class="page-content">
    <form method="post">
      <table class="form">
        <tbody>
        <tr>
          <td align="right"><label for="userName"><%= Labels.UserName %></label></td>
          <td align="left"><%= this.TextBox(f=>f.UserName) %></td>                    
        </tr>          
        <tr>
          <td></td>
          <td><%= this.ValidationMessage(f=>f.UserName) %></td>
        </tr>
        <tr>
          <td align="right"><label for="password"><%= Labels.Password %></label></td>
          <td align="left"><%= this.Password(f=>f.Password) %></td>          
        </tr>
        <tr>
          <td></td>
          <td><%= this.ValidationMessage(f=>f.Password)%></td>
        </tr>
        <tr>
          <td align="right"><%= Html.CheckBox("rememberMe", new { @class = "leftCheckBox" })%></td>
          <td align="left">
            <label for="rememberMe" title="<%= ToolTips.RememebrMe %>"><%= Labels.RememberMe %></label>            
          </td>
        </tr>
        <tr>
          <td></td>
          <td align="left">
            <%= Html.OkButton() %>
            <%= Html.ActionLink<AccountController>(f=>f.CreateAccount(),Buttons.CreateAccount) %>
          </td>
        </tr>
        </tbody>
      </table>
    </form>
    <br />    
  </div>
</asp:content>
